<?php 
/** 
 * Active Record for Customer
 */ 
class Customer extends TRecord
{ 
    const TABLENAME = 'customer'; 
    const PRIMARYKEY= 'id'; 
    const IDPOLICY =  'max'; // {max, serial} 
} 
?>